package com.example.demo.common.entity.enums;

/**
 * 成品入库状态.
 *
 * @author Mei Ruoxiao
 * @since 2020/9/18
 */
public enum ProductRepositoryStateEnum {
    UNFINISHED(0, "未完成入库"),
    FINISH(1, "已完成入库");

    private int value;
    private String desc;

    ProductRepositoryStateEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int value() {
        return this.value;
    }

    public String desc() {
        return this.desc;
    }
}
